/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.proteu.hibernate.beans;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *
 * @author ricardo
 */
@Entity
@Table(name="PROCEDIMENTOSDIA")
public class ProcedimentosDiaProteu implements Serializable{

    @Id
    @Column(name="PCD_IN_CODIGO")
    private Integer pcdInCodigo;
    @Column(name="MED_ST_CODIGO")
    private String medStCodigo;
    @Column(name="PROC_ST_CODIGO_AMB")
    private String procStCodigoAmb;
    @Column(name="PCD_CH_SEGUNDA")
    private String pcdChSegunda;
    @Column(name="PCD_CH_TERCA")
    private String pcdChTerca;
    @Column(name="PCD_CH_QUARTA")
    private String pcdChQuarta;
    @Column(name="PCD_CH_QUINTA")
    private String pcdChQuinta;
    @Column(name="PCD_CH_SEXTA")
    private String pcdChSexta;
    @Column(name="PCD_CH_SABADO")
    private String pcdChSabado;
    @Column(name="PCD_CH_URGENCIA")
    private String pcdChUrgencia;
    @Column(name="PCD_CH_ATENDE_P_VEZ")
    private String pcdChAtendePVez;
    @Column(name="PCD_CH_RETORNO")
    private String pcdChRetorno;
    @Column(name="PCD_CH_INDICA")
    private String pcdChIndica;


    public String getMedStCodigo() {
        return medStCodigo;
    }

    public void setMedStCodigo(String medStCodigo) {
        this.medStCodigo = medStCodigo;
    }

    public String getPcdChAtendePVez() {
        return pcdChAtendePVez;
    }

    public void setPcdChAtendePVez(String pcdChAtendePVez) {
        this.pcdChAtendePVez = pcdChAtendePVez;
    }

    public String getPcdChIndica() {
        return pcdChIndica;
    }

    public void setPcdChIndica(String pcdChIndica) {
        this.pcdChIndica = pcdChIndica;
    }

    public String getPcdChQuarta() {
        return pcdChQuarta;
    }

    public void setPcdChQuarta(String pcdChQuarta) {
        this.pcdChQuarta = pcdChQuarta;
    }

    public String getPcdChQuinta() {
        return pcdChQuinta;
    }

    public void setPcdChQuinta(String pcdChQuinta) {
        this.pcdChQuinta = pcdChQuinta;
    }

    public String getPcdChRetorno() {
        return pcdChRetorno;
    }

    public void setPcdChRetorno(String pcdChRetorno) {
        this.pcdChRetorno = pcdChRetorno;
    }

    public String getPcdChSabado() {
        return pcdChSabado;
    }

    public void setPcdChSabado(String pcdChSabado) {
        this.pcdChSabado = pcdChSabado;
    }

    public String getPcdChSegunda() {
        return pcdChSegunda;
    }

    public void setPcdChSegunda(String pcdChSegunda) {
        this.pcdChSegunda = pcdChSegunda;
    }

    public String getPcdChSexta() {
        return pcdChSexta;
    }

    public void setPcdChSexta(String pcdChSexta) {
        this.pcdChSexta = pcdChSexta;
    }

    public String getPcdChTerca() {
        return pcdChTerca;
    }

    public void setPcdChTerca(String pcdChTerca) {
        this.pcdChTerca = pcdChTerca;
    }

    public String getPcdChUrgencia() {
        return pcdChUrgencia;
    }

    public void setPcdChUrgencia(String pcdChUrgencia) {
        this.pcdChUrgencia = pcdChUrgencia;
    }

    public Integer getPcdInCodigo() {
        return pcdInCodigo;
    }

    public void setPcdInCodigo(Integer pcdInCodigo) {
        this.pcdInCodigo = pcdInCodigo;
    }

    public String getProcStCodigoAmb() {
        return procStCodigoAmb;
    }

    public void setProcStCodigoAmb(String procStCodigoAmb) {
        this.procStCodigoAmb = procStCodigoAmb;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final ProcedimentosDiaProteu other = (ProcedimentosDiaProteu) obj;
        if (this.pcdInCodigo != other.pcdInCodigo && (this.pcdInCodigo == null || !this.pcdInCodigo.equals(other.pcdInCodigo))) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 3;
        hash = 59 * hash + (this.pcdInCodigo != null ? this.pcdInCodigo.hashCode() : 0);
        return hash;
    }



}
